<template>
  <swiper class="c-swiper-container" :autoplay="true" :circular="true">
    <swiper-item class="swiper-item" v-for="item in bananers" :key="item.id">
      <image mode="widthFix" style="width: 100%;" :src="item.url"></image>
    </swiper-item>
  </swiper>
</template>

<script setup>
import { defineProps } from 'vue'

const props = defineProps({
  bananers: {
    type: Array,
    default() {
      return []
    }
  }
})
</script>

<style lang="scss">
.c-swiper-container {
  height: 100px;
  .swiper-item {
    border-radius: 8px;
  }
}
</style>
